﻿<%@ Page Language="C#" MasterPageFile ="~/Admin/MasterPage.master"  AutoEventWireup="true" CodeFile="CTDonHangList.aspx.cs" Inherits="Admin_CTDonHangList" %>
<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID ="Content1" ContentPlaceHolderID ="menuPlaceHolder" runat ="server" >
    <h5 >Menu</h5>
    <ul class="Actions">
        <li class="Selected"><a href="donhanglist.aspx"  >Danh sách đơn hàng</a></li>
    </ul>
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
   <div style="padding:12px 12px 12px 12px;">
   <div >
         <div class="title">
            Chi tiết đơn hàng
        </div>                  
        <div>
           <table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc">
                <tr>
                    <td style="width:30%">Mã đơn hàng</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_MaDonHang" runat="server"></asp:Literal>
                    </td>
                </tr>            
                <tr>
                    <td style="width:30%">Khách hàng</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_KhachHang" runat="server"></asp:Literal>
                    </td>
                </tr>  
                 <tr>
                    <td style="width:30%">Ngày đặt hàng</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_NgayDatHang" runat="server"></asp:Literal>
                    </td>
                </tr>  
                 <tr>
                    <td style="width:30%">Ngày giao hàng</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_NgayGiaoHang" runat="server"></asp:Literal>
                    </td>
                </tr>  
                 <tr>
                    <td style="width:30%">Địa chỉ giao hàng</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_DiaChiNhanHang" runat="server"></asp:Literal>
                    </td>
                </tr>  
                 <tr>
                    <td style="width:30%">Trị giá</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_TriGia" runat="server"></asp:Literal>
                    </td>
                </tr>    
                 <tr>
                    <td style="width:30%">Đã giao hàng</td>
                    <td style="width:70%">
                        <asp:CheckBox ID="cb_DaGiao" Enabled="false" runat="server" />
                    </td>
                </tr>            
            </table>
        </div>
        
        
        <div style="padding-top:10px;">
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                <thead>
                    <tr class="listtableheader">
                        <th>Sách</th>
                        <th>Số lượng</th>
                        <th>Đơn giá</th>
                        <th>Thành tiền</th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                    <asp:Literal ID="lit_TenSP" runat="server"></asp:Literal></td>
                <td><%#Eval("SoLuong") %></td>
                <td><%#Eval("DonGia") %></td>
                <td>
                    <asp:Literal ID="lit_ThanhTien" runat="server"></asp:Literal></td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
        </div>
    
    <div style="width:100%;"> 
            <div style="float:left;">               
               <cc1:PagerV2_8 ID="PagerV2_8_1" runat="server"  OnCommand="pager_Command" ></cc1:PagerV2_8> 
            </div>
           
    </div> 
 </div>
 </div>
</asp:Content>

